<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>管理员登录</title>
</head>
<body>
@if(count($errors))
    @foreach($errors->all() as $e)
        <p>{{ $e }}</p>
    @endforeach
@endif
<form method="POST">
    {{ csrf_field() }}

    <div>
        用户名
        <input type="text" name="username" value="{{ old('username') }}">
    </div>


    <div>
        密码
        <input type="password" name="password">
    </div>

    <div>
        确认密码
        <input type="password" name="password_confirmation">
    </div>

    <div>
        <button type="submit">注册</button>
    </div>
</form>
</body>
</html>
